package dao

import (
	"context"
	"inspector/internal/model/entity"
)

type EventStore interface {
	Create(ctx context.Context, event *entity.Event) (res *entity.Event, err error)
	Update(ctx context.Context, event *entity.Event) error
	Delete(ctx context.Context, id string) error
	Get(ctx context.Context, id string) (*entity.Event, error)
	List(ctx context.Context, options entity.EventListOptions) ([]*entity.Event, error)
	ListRetryEvents(ctx context.Context, options entity.EventListOptions) ([]*entity.Event, error)
}
